package cn.bdqn.pn.service.base;

import cn.bdqn.pn.pojo.base.Question;
import cn.bdqn.pn.pojo.base.Reply;
import org.springframework.data.domain.Page;

import java.util.List;

public interface QuestionService {


    List<Question> showQuestion( );
   /* *
     * 统计问题总数
     * @param questionId
     * @return
    Integer questionCount(Integer questionId);

    *
     * 分页查询所有问题反馈数据
     * @return
    Page<Question> getAllQuestionInfo(Question question,Integer pageNo,Integer pageSize);

    *
     * 添加问题反馈
     * @param question
     * @return
    Integer addQuestionByQuestion(Question question);

    *
     * 删除问题反馈
     * @param questionId
     * @return
    Integer delQuestionByQuestionId(Integer questionId);

    *
     * 修改问题反馈
     * @param questionId 主键id
     * @param questionReplyTypeId 问题反馈id
     * @return
    Integer updQuestionInfo(Integer questionId,Integer questionReplyTypeId);
    *
     * 展示所有问题
*/

}
